package com.psp.park.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 发送手机验证码
 **/
public class SendPhoneCodeParam {
	@NotEmpty(message = "手机号不能为空！")
	@Pattern(regexp = "^(1)\\d{10}$", message = "手机号格式不正确！")
	private String phone; // 手机号码
	private String imgCode; // 图形验证码
	private String imgKey; // 获取时返回的key

	public void setPhone(String phone) {
 		this.phone = phone;
	}

	public String getPhone() {
 		return phone;
	}

	public void setImgCode(String imgCode) {
 		this.imgCode = imgCode;
	}

	public String getImgCode() {
 		return imgCode;
	}

	public void setImgKey(String imgKey) {
 		this.imgKey = imgKey;
	}

	public String getImgKey() {
 		return imgKey;
	}

}
